App.Api.factory('Api.Delreluser', [function () {
			/**
* Usunięcie usera,
* @class delreluser
*/
function delreluser(){
	/**
	* getnote
	* @property oper
	* @private 
	*/
	var oper = 'delreluser',

	/**
	*  admin (dowolny)
	* @property user 
	* @private 
	*/
	user ,

	/**
	*  hasło tego użytkownika
	* @property pass 
	* @private 
	*/
	pass ,

	/**
	*  user do usunięcia z czytelników, może być „*”(usuwa „*”) oraz „!”(usuwa całość)
	* @property login 
	* @private 
	*/
	login ,

	/**
	*  user do usunięcia z czytelników, może być „*”(usuwa „*”) oraz „!”(usuwa całość)
	* @property login 
	* @private 
	*/
	login ,
	that = this;


	function getOper(noper){
		return oper;
	}
	function getUser(nuser){
		return user ;
	}
	function getPass(npass){
		return pass ;
	}
	function getLogin(nlogin){
		return login ;
	}

	function setOper(noper){
		oper = noper;
	}
	function setUser(nuser){
		user  = nuser ;
	}
	function setPass(npass){
		pass  = npass ;
	}
	function setLogin(nlogin){
		login  = nlogin ;
	}

	function toObject(){
		return{
			oper: oper,
			user : user ,
			pass : pass ,
			login : login 
		};
	}

	/**
 	* konstruktor
 	*
   	* @constructor         
  	* @method construct    
  	* @public              
 	*/
	(function delreluser(){
		that.getOper = getOper;
		that.getUser = getUser;
		that.getPass = getPass;
		that.getLogin = getLogin;
		that.setOper = setOper;
		that.setUser = setUser;
		that.setPass = setPass;
		that.setLogin = setLogin;

	})();
}


delreluser.prototype.fromObject = function (obj){
		var object = new delreluser();
		object.setOper(obj.getOper());
		object.setUser(obj.getUser());
		object.setPass(obj.getPass());
		object.setLogin(obj.getLogin());

		return object;
	}

			return delreluser;
		}]);